//
//  LBIMHistoryMessageListModel.h
//  app
//
//  Created by 刘文扬 on 16/9/9.
//  Copyright © 2016年 广东联结电子商务有限公司. All rights reserved.
//

#import <Foundation/Foundation.h>

@class LBIMHistoryMessageModel,LBIMHistoryMessageContentModel;
@interface LBIMHistoryMessageListModel : NSObject


@property (nonatomic, assign) NSInteger totalNum;

@property (nonatomic, strong) NSArray<LBIMHistoryMessageModel *> *list;

@property (nonatomic, assign) NSInteger pageSize;

@property (nonatomic, assign) NSInteger pageNO;

@property (nonatomic, assign) NSInteger totalPage;


@end
@interface LBIMHistoryMessageModel : NSObject

@property (nonatomic, copy) NSString *msgType;

@property (nonatomic, assign) NSInteger conversationType;

@property (nonatomic, copy) NSString *msgUid;

@property (nonatomic, copy) NSString *datetime;

@property (nonatomic, copy) NSString *fromUserIcon;

@property (nonatomic, copy) NSString *fromUserId;

@property (nonatomic, copy) NSString *fromUserName;

@property (nonatomic, strong) LBIMHistoryMessageContentModel *message;

@property (nonatomic, copy) NSString *groupId;

@property (nonatomic, assign) NSInteger toUserId;

@end

@interface LBIMHistoryMessageContentModel : NSObject

@property (nonatomic, copy) NSString *content;

@property (nonatomic, copy) NSString *type;

@property (nonatomic, copy) NSString *imageUri;//if image

@property (copy, nonatomic) NSString *duration;//if voice

@end

